package com.zsule.constants;

import com.zsule.utils.io.PropertyUtil;

/**
 * @author Administrator
 */

public class CoreConstant {
	// 读取配置文件类
		public static PropertyUtil propertyUtil = PropertyUtil.getInstance("project");
	// 验证码
	public static String RAND_CODE = "user_rand_code";
	
	public static String USER_SESSION_NAME = "";
	public static String contextPath = propertyUtil.getProperty("contextPath");
	// 图片、CSS、js 服务器地址
	public static String imagesPath = propertyUtil.getProperty("imagesPath");
	/*
	 * eshop中各种状态
	 */
	public static final int EORDER_STATUS_All = -1;// 所有状态

	public static final int EORDER_STATUS_NEW = 0;// 新建

	public static final int EORDER_STATUS_RECEIVED = 1;// 商家接单

	public static final int EORDER_STATUS_REFUSE = 2;// 商家拒绝

	public static final int EORDER_STATUS_CANCEL = 3;// 被取消，或超时

	public static final int EORDER_STATUS_DOING = 4;// 配送中

	public static final int EORDER_STATUS_FINISHED = 5;// 订单已完成

	public static final int EORDER_STATUS_PICKING = 6;// 配货中

	/*
	 * 商户在线状态
	 */
	public static final int SHOPPER_IS_OUTLINE = 0;// 商户离线

	public static final int SHOPPER_IS_ONLINE = 1;// 商户在线
}
